﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MainPage.Master"
	CodeBehind="ReportUT518.aspx.vb" Inherits="RWN.ReportUT518" UICulture="th-TH" Culture="th-TH" %>

<%@ Register Assembly="NumericTextBox" Namespace="NumericTextBoxControl" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
	Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="ucPopupOfficer.ascx" TagName="ucPopupOfficer" TagPrefix="uc1" %>
<%@ MasterType VirtualPath="~/MainPage.Master" %>
<%@ Register Assembly="Sarayut.ControlLibrary" Namespace="Sarayut.ControlLibrary" TagPrefix="cc2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<script type="text/javascript">

	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:ScriptManager ID="ScriptManager1" runat="server" 
		EnableScriptGlobalization="True">
	</asp:ScriptManager>
	<div>
		รายงานสมาชิกที่มีจำนวนลูกสะสม ประจำเดือน</div>
	<div>
		<hr />
	</div>
	<div>
		<table>
			<tr>
				<td>
					วันที่สมัครสมาชิก เริ่มต้น:
				</td>
				<td>
                    <asp:TextBox ID="MemberDateFrom" runat="server" Width="70px"></asp:TextBox><asp:ImageButton ID="ibtnMemberDateFrom" runat="server" ImageUrl="~/images/Calendar.gif" />
			        <asp:CalendarExtender ID="MemberDateFrom_CalendarExtender" runat="server" 
				        CssClass="" Enabled="True" Format="dd/MM/yyyy" 
				        PopupButtonID="ibtnMemberDateFrom" TargetControlID="MemberDateFrom">
			        </asp:CalendarExtender>	
                </td>
				<td>
					สิ้นสุด:
				</td>
				<td>
				    <asp:TextBox ID="MemberDateTo" runat="server" Width="70px"></asp:TextBox><asp:ImageButton ID="ibtnMemberDateTo" runat="server" ImageUrl="~/images/Calendar.gif" />
			        <asp:CalendarExtender ID="MemberDateTo_CalendarExtender" runat="server" 
				        CssClass="" Enabled="True" Format="dd/MM/yyyy" 
				        PopupButtonID="ibtnMemberDateTo" TargetControlID="MemberDateTo">
			        </asp:CalendarExtender>	 		
                </td>
			</tr>
			<tr>
				<td>
					วันที่ค้นหาลูก เริ่มต้น:
				</td>
				<td>
				    <asp:TextBox ID="ChildDateFrom" runat="server" Width="70px"></asp:TextBox><asp:ImageButton ID="ibtnChildDateFrom" runat="server" ImageUrl="~/images/Calendar.gif" />
			        <asp:CalendarExtender ID="ChildDateFrom_CalendarExtender" runat="server" 
				        CssClass="" Enabled="True" Format="dd/MM/yyyy" 
				        PopupButtonID="ibtnChildDateFrom" TargetControlID="ChildDateFrom">
			        </asp:CalendarExtender>	 
                </td>
				<td>
					สิ้นสุด:</td>
				<td>
				    <asp:TextBox ID="ChildDateTo" runat="server" Width="70px"></asp:TextBox><asp:ImageButton ID="ibtnChildDateTo" runat="server" ImageUrl="~/images/Calendar.gif" />
			        <asp:CalendarExtender ID="ChildDateTo_CalendarExtender" runat="server" 
				        CssClass="" Enabled="True" Format="dd/MM/yyyy" 
				        PopupButtonID="ibtnChildDateTo" TargetControlID="ChildDateTo">
			        </asp:CalendarExtender>				
                </td>
			</tr>
			<tr>
				<td>
					จำนวนลูกตั้งแต่:
                </td>
				<td>
					<cc1:NumericTextBox ID="incomeFrom" runat="server" AllowZero="False" ControlMode="Text"
						DecimalSeparator="None" MaxLength="10" ThousandsSeparator="None" />
				</td>
				<td>
					จนถึง:
                </td>
				<td>
					<cc1:NumericTextBox ID="incomeTo" runat="server" AllowZero="False" ControlMode="Text"
						DecimalSeparator="None" MaxLength="10" ThousandsSeparator="None" />
				</td>
			</tr>
			<tr>
				<td colspan="4">
					<asp:Button ID="btnPDF" runat="server" Text="Show Report" />
				</td>
			</tr>
		</table>
	</div>

	<!-- ไว้เป็น Template สำหรับออก excel -->
	</asp:Content>
